/**
 * Simple lexer application, parse input tokens.
 * Add two numbers from the parse script.
 * This implementation done, Berlin Brown (berlin dot brown at gmail.com)
 * Variation on code from : "Language Implementation Patterns", Terence Parr
 */
package org.berlin.octane.compiler.lang;


/**
 * Heterogeneous AST node type. 
 */
public class ASTNodeType {
    
    private VisitorToken token;
    
    public ASTNodeType() { 
        super(); 
    }
    public ASTNodeType(final VisitorToken t) { 
        this.token = t; 
    }
    public String toString()  { 
        return token.toString(); 
    }
    
    public VisitorToken getToken() {
        return token;
    }
    
} // End of the class //
